package com.luhuiguo.gwt.mvp.dispatcher.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.luhuiguo.gwt.mvp.dispatcher.shared.exception.ActionException;
import com.luhuiguo.gwt.mvp.dispatcher.shared.exception.SecureException;
import com.luhuiguo.gwt.mvp.dispatcher.shared.exception.ServiceException;
import com.luhuiguo.gwt.mvp.dispatcher.shared.rpc.Action;
import com.luhuiguo.gwt.mvp.dispatcher.shared.rpc.Result;

/**
 * 
 * @author LuHuiguo
 * @version $Id: SecuredDispatcherService.java 11 2009-12-26 13:39:17Z luhuiguo $
 */
@RemoteServiceRelativePath(DispatcherAsync.DISPATCHER)
public interface SecuredDispatcherService extends RemoteService {
    Result execute(Action<?> action) throws ActionException, ServiceException, SecureException;
}
